<table class="table table-hover">
    <thead>
    <tr>
        <th>SKUID</th>
        <th>站点</th>
        <th>SKU</th>
        <th>季节性</th>
        <th>品类</th>
        <th>负责人</th>
        <th>在库</th>
        <th>在途</th>
        <th>保留</th>
        <th>产品名称</th>
    </tr>
    <tr style="color:#f56f9c">
        <td>TTL</td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td></td>
        <td>{{ array_key_exists('instant',$total) ? $total['instant'] : '' }}</td>
        <td>{{ array_key_exists('area_transit',$total) ? $total['area_transit'] : '' }}</td>
        <td>{{ array_key_exists('reserve',$total) ? $total['reserve'] : '' }}</td>
        <td></td>
    </tr>
    </thead>
    <tbody>
    @foreach($paginator as $row)
        <tr>
            <td>{{ $row->sku->id ?? 0 }}</td>
            <td>{{ $row->area->area ?? '' }}</td>
            <td>{{ $row->sku->psku_code ?? '' }}</td>
            <td>{{ App\Models\Product\ProductClassify::$_season[$row->sku->classify->season ?? 3] }}</td>
            <td>{{ $row->sku->classify->title ?? '' }}</td>
            <td>{{ App\Util\User::getUsernameById($row->iArea->muser_id ?? '') }}</td>
            <td>{{ $row->instant }}</td>
            <td>{{ $row->area_transit }}</td>
            <td>{{ $row->reserve }}</td>
            <td>{{ $row->sku->psku_cn ?? '' }}</td>
        </tr>
    @endforeach
    </tbody>
</table>
